#!/bin/bash
cd /app/cloud-microservices
git pull origin master

cd /app/cloud-microservices/cloud-microservices
mvn clean install -U

cp -f /app/cloud-microservices/cloud-member-startup/target/cloud-member-startup.jar /app/cloud-microservices/cloud-deploy/standlone

cd /app/cloud-microservices/cloud-deploy/standlone

docker-compose build member
